<%@ page contentType="text/html; charset=Windows-31J" language="java" %>
<%@ include file="../inc/common.jsp" %>

<html:html locale="true">
<HEAD>
	<html:base/>
	<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
	<TITLE><%=Globals.get("WEB_PAGETITLE")%></TITLE>
</HEAD>
<BODY BGCOLOR=<%=Globals.get("WEB_BODY_BGCOLOR")%> LINK=<%=Globals.get("WEB_BODY_LINK")%> VLINK=<%=Globals.get("WEB_BODY_VLINK")%>>
<CENTER>
<BR><H4>ﾌﾟﾛｼﾞｪｸﾄ単価設定画面</H4><HR><BR>
</CENTER>
<html:form action="/expense_pj_select">
<html:hidden name="ExpenseManufacturingProjectActionForm" property="projectId" />
<TABLE cellpadding="1" cellspacing="1">
<TR>
	<TH ALIGN="left">ﾌﾟﾛｼﾞｪｸﾄ名：</TH>
	<TD align="left"><bean:write name="ExpenseManufacturingProjectActionForm" property="name" /></TD>
</TR>
<TR><TD colspan="2">　</TD></TR>
<TR>
	<TD COLSPAN="2">
		<TABLE border="1" cellpadding="1" cellspacing="1">
		<TR>
			<TH>作業項目</TH>
			<TH>単価(円/h)</TH>
			<TH>項目区分</TH>
		</TR>
		<logic:iterate id="workItemList" name="workItemList" indexId="index">
		<TR>
			<TD><bean:write name="workItemList" property="name" /></TD>
			<%String unitPrice = "unitPrice" + index;%>
			<TD align="center"><html:text name="workItemList" property="unitPrice" style="text-align:right" size="7" indexed="true" /><html:errors property="<%=unitPrice%>" /></TD>
			<TD>
				<logic:equal name="workItemList" property="addStaffId" value="0">線表項目</logic:equal>
				<bean:define id="addStaffId" name="workItemList" property="addStaffId" type="java.lang.Integer" />
				<logic:iterate id="list" name="staffList">
					<logic:equal name="list" property="staffId" value="<%=addStaffId.toString()%>">
						<bean:write name="list" property="name" />追加項目
					</logic:equal>
				</logic:iterate>
			</TD>
		</TR>
		</logic:iterate>
		</TABLE><BR>
	</TD>
</TR>
<TR><TD colspan="2">　</TD></TR>
<TR>
	<TD COLSPAN="2"><html:submit property="set" value="設定" /></TD>
</TR>
</TABLE>
</html:form>

<BR><BR>
<H5><html:link forward="site_top">TOPに戻る</html:link></H5>
</BODY>
</html:html>
